using System.Buffers;
using SuperSocket.ProtoBase;
using SuperSocketProxy.Commands;

namespace SuperSocketProxy;

public abstract class SocketProxyPacket : IKeyedPackageInfo<Command> 
{
    public Command Key { get; set; }
    
    public abstract SocketProxyPacket Decode(ref SequenceReader<byte> reader);
}